package com.yunxi.stock.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.stock.pojo.PartnerStockOutVO;
import org.springframework.beans.BeanUtils;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class PartnerStockOutDubboServiceMock implements  PartnerStockOutDubboService{
    @Override
    public PartnerStockOutVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        PartnerStockOutVO partnerStockOutVO = new PartnerStockOutVO();
        partnerStockOutVO.setOrderCarId("暂无数据");
         return partnerStockOutVO;
    }

    @Override
    public void saveOrUpdate(PartnerStockOutVO partnerStockOutVO) throws InvocationTargetException, IllegalAccessException {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<PartnerStockOutVO> findPageByVO(PartnerStockOutVO partnerStockOutVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<PartnerStockOutVO> page =  new   PageInfo<PartnerStockOutVO>();
        List  list  =  new ArrayList();
        PartnerStockOutVO vo =  new PartnerStockOutVO();
        vo.setOrderCarId("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public void removeByListVo(List<PartnerStockOutVO> partnerStockOutVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException {

    }

    @Override
    public List listByVo(PartnerStockOutVO partnerStockOutVO) {
        List  list  =  new ArrayList();
        PartnerStockOutVO vo =  new PartnerStockOutVO();
        vo.setOrderCarId("暂无数据");
        list.add(vo);
        return list;
    }
}
